package com.fyy;

import com.fyy.singleton.EnumSingleton;
import com.fyy.singleton.SingleBean;

/**
 * @Author fyy
 * @Description
 * @Date 2020/7/17 10:40
 */
public class DesignPatternTest {

    public static void main(String[] args) {
        //单例测试
        EnumSingleton singleBean = EnumSingleton.INSTANCE;
        singleBean.outMessages();
    }

}
